.overlay {
    &__container,
    &__container-light {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        position: fixed;
        z-index: $overlayZ;
        background: $defaultBackground;
    }

    &__container-light {
        @include transparentBg($defaultBackground, 0.7);
    }

    &__content {
        position: absolute;
        margin: 0 auto;
        height: 100%;
        width: 56%;
        left: 50%;
        @include transform(translateX(-50%));

        &_bottom {
            position: absolute;
            bottom: 0;
        }
    }

    &__policy {
        position: absolute;
        bottom: 24px;
        width: 100%;
    }

    &__spinner-container {
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }
}
